﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;

namespace MiniFox.Security
{
    /// <summary>
    /// 
    /// </summary>
    public class SHA256CryptoService : HashCryptoService
    {
        //internal const string CRYPT_NAME = "System.Security.Cryptography.SHA256";
        /// <summary>
        /// 
        /// </summary>
        public SHA256CryptoService() : base()
        {
        }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        protected override HashAlgorithm CreateAlgorithm()
        {
            return SHA256.Create();
        }
    }
}
